package com.sx.rabbitmqtest.bean;

/**
 * @author shengx
 * @date 2020/8/12 22:17
 */
public class Order {
    private String userId;
    private String orderId;
    private String orderTime;
    private OrderStatus orderStatus;

    public String getUserId() {
        return userId;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public String getOrderId() {
        return orderId;
    }

    public void setOrderId(String orderId) {
        this.orderId = orderId;
    }

    public String getOrderTime() {
        return orderTime;
    }

    public void setOrderTime(String orderTime) {
        this.orderTime = orderTime;
    }

    public OrderStatus getOrderStatus() {
        return orderStatus;
    }

    public void setOrderStatus(OrderStatus orderStatus) {
        this.orderStatus = orderStatus;
    }

    @Override
    public String toString() {
        return "Order{" +
                "userId='" + userId + '\'' +
                ", orderId='" + orderId + '\'' +
                ", orderTime='" + orderTime + '\'' +
                ", orderStatus=" + orderStatus +
                '}';
    }
}
